﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Officer2010.Content.Views.SidePanels.CommonOptions"
	d:DesignWidth="440" d:DesignHeight="580">

	<Grid x:Name="LayoutRoot">
		<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,30.664,6,0" 
			VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" 
			StrokeDashArray="2 2" Grid.ColumnSpan="1" HorizontalAlignment="Left" Width="Auto"/>
		<TextBlock Height="Auto" Margin="7,9,0,0" VerticalAlignment="Top" Text="Basic Options" 
			TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left" 
                   FontWeight="Bold" d:LayoutOverrides="HorizontalAlignment"/>
		<StackPanel Height="Auto" Margin="12,40,12,2" VerticalAlignment="Stretch" MinWidth="0"
                    DataContext="{Binding CommonSettings, Mode=OneWay}">
            
			<CheckBox Height="Auto" Margin="0,0,177,6" Content="Show Mini Toolbar on selection" FontFamily="Arial" 
                    FontSize="12" d:LayoutOverrides="Width" IsChecked="{Binding MinToolbar, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="Show Live Preview" FontFamily="Arial" 
                      FontSize="12" Margin="0,0,0,6" IsChecked="{Binding LivePreview, Mode=TwoWay}"/>
			<CheckBox Height="Auto" Margin="0,0,158,6" Content="Show Developer Tab in the Ribbon" FontFamily="Arial" 
                      FontSize="12" d:LayoutOverrides="Width" IsChecked="{Binding DeveloperTab, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="Open e-mail attachments in Full Screen Reading View" 
                      FontFamily="Arial" FontSize="12" Margin="0,0,0,6"  IsChecked="{Binding FullView, Mode=TwoWay}"/>
            
			<Grid Height="26" Margin="0,0,0,6" HorizontalAlignment="Left">
				<ComboBox Margin="104,0,0,0" IsDropDownOpen="False" FontFamily="Arial" Width="80"
                           SelectedIndex="{Binding ColorScheme, Mode=TwoWay}">
					<ComboBoxItem Content="Blue"/>
					<ComboBoxItem Content="Silver"/>
					<ComboBoxItem Content="Black"/>
				</ComboBox>
                
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="0,7,0,5" Width="Auto" FontFamily="Arial" 
                           FontSize="12" Text="Color scheme:" TextWrapping="NoWrap" d:LayoutOverrides="Height"/>
			</Grid>
            
			<Grid Height="26" Margin="0,0,0,6" Width="364" HorizontalAlignment="Left">
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="0,8,0,4" Width="Auto" FontFamily="Arial" 
                           FontSize="12" Text="ScreenTip style:" TextWrapping="NoWrap" d:LayoutOverrides="Height"/>
				<ComboBox Margin="104,0,0,0" IsDropDownOpen="False" FontFamily="Arial" HorizontalAlignment="Left" 
                          Width="260" SelectedIndex="{Binding ScreenTip, Mode=TwoWay}">
					<ComboBoxItem Content="Show feature descriptions in ScreenTips"/>
					<ComboBoxItem Content="Don't show feature descriptions in ScreenTips"/>
					<ComboBoxItem Content="Don't show ScreenTips"/>
				</ComboBox>
			</Grid>
            
		</StackPanel>	
        
	</Grid>
</UserControl>